







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
The MultiDictionary class that associates values with a key. Unlike an Dictionary, each key can have multiple values associated with it. When indexing an MultiDictionary, instead of a single value associated with a key, you retrieve an enumeration of values.
When constructed, you can chose to allow the same value to be associated with a key multiple times, or only one time.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
[SerializableAttribute] public class MultiDictionary<TKey, TValue> : MultiDictionaryBase<TKey, TValue>, ICloneable |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class MultiDictionary(Of TKey, TValue) _ Inherits MultiDictionaryBase(Of TKey, TValue) _ Implements ICloneable |
Visual C++ |
---|
[SerializableAttribute] generic<typename TKey, typename TValue> public ref class MultiDictionary : public MultiDictionaryBase<TKey, TValue>, ICloneable |
Type Parameters
- TKey
- The type of the keys.
- TValue
- The of values associated with the keys.
Inheritance Hierarchy
System..::Object
Wintellect.PowerCollections..::CollectionBase<(Of <KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>>)>
Wintellect.PowerCollections..::MultiDictionaryBase<(Of <TKey, TValue>)>
Wintellect.PowerCollections..::MultiDictionary<(Of <TKey, TValue>)>
Wintellect.PowerCollections..::CollectionBase<(Of <KeyValuePair<(Of <TKey, ICollection<(Of <TValue>)>>)>>)>
Wintellect.PowerCollections..::MultiDictionaryBase<(Of <TKey, TValue>)>
Wintellect.PowerCollections..::MultiDictionary<(Of <TKey, TValue>)>